package com.cn.crmsystem.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
@ApiModel(value = "任务表")
public class Task  implements Serializable{
  @Id
  @ApiModelProperty("主键id")
  private Integer task_Id;
  @ApiModelProperty("领导人id")
  private  User user;
  @ApiModelProperty("任务内容")
  private String describe;
  @ApiModelProperty("开始时间")
  private java.util.Date begin_Date;
  @ApiModelProperty("截止时间")
  private java.util.Date end_Date;
  @ApiModelProperty("创建人id(外键)")
  private Integer create_Id;
  @ApiModelProperty("删除状态（0表示显示该数据，1表示不显示）")
  private Integer delete_State;
  @ApiModelProperty("路径")
  private String url;
  @ApiModelProperty("任务名")
  private String Taskname;
  private Integer role;
  @ApiModelProperty("员工")
  private List<User> list;

  public List<User> getList() {
    return list;
  }

  public void setList(List<User> list) {
    this.list = list;
  }


  public Integer getRole() {
    return role;
  }

  public void setRole(Integer role) {
    this.role = role;
  }

  private  List<User> carryer;

  public String getTaskname() {
    return Taskname;
  }

  public void setTaskname(String taskname) {
    Taskname = taskname;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public List<User> getCarryer() {
    return carryer;
  }

  public void setCarryer(List<User> carryer) {
    this.carryer = carryer;
  }

  public Integer getTask_Id() {
    return task_Id;
  }

  public void setTask_Id(Integer task_Id) {
    this.task_Id = task_Id;
  }

  public String getDescribe() {
    return describe;
  }

  public void setDescribe(String describe) {
    this.describe = describe;
  }

  public Date getBegin_Date() {
    return begin_Date;
  }

  public void setBegin_Date(Date begin_Date) {
    this.begin_Date = begin_Date;
  }

  public Date getEnd_Date() {
    return end_Date;
  }

  public void setEnd_Date(Date end_Date) {
    this.end_Date = end_Date;
  }

  public Integer getCreate_Id() {
    return create_Id;
  }

  public void setCreate_Id(Integer create_Id) {
    this.create_Id = create_Id;
  }

  public Integer getDelete_State() {
    return delete_State;
  }

  public void setDelete_State(Integer delete_State) {
    this.delete_State = delete_State;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }
}
